package com.example.easybuy.mapper;

import com.example.easybuy.entity.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ResultMapper {
    List<Result> findAll();
    
    Result findById(@Param("stuno") String stuno);
    
    int insert(Result result);
    
    int update(Result result);
    
    int deleteById(@Param("stuno") String stuno);
}